package br.edu.fanor.esfinge.services.impl;

import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

import br.edu.fanor.esfinge.entity.DadosCadastrais;
import br.edu.fanor.esfinge.services.DadosCadastraisServiceRemote;

@Stateless
public class DadosCadastraisServiceImpl implements DadosCadastraisServiceRemote{
	
	@PersistenceContext
	private EntityManager em; 

	@Override
	public DadosCadastrais inserir(DadosCadastrais dadoscadastrais) {
		em.persist(dadoscadastrais);
		return dadoscadastrais;
	}
	
	

}
